/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.check.tendencydetection.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.common.utils.StringUtils;
import com.jeeplus.modules.check.tendencydetection.entity.CheckStandardTendencyDetection;
import com.jeeplus.modules.check.tendencydetection.mapper.CheckStandardTendencyDetectionMapper;

/**
 * 点检倾向性检测Service
 * @author 刘明星
 * @version 2020-11-08
 */
@Service
@Transactional(readOnly = true)
public class CheckStandardTendencyDetectionService extends CrudService<CheckStandardTendencyDetectionMapper, CheckStandardTendencyDetection> {


	public CheckStandardTendencyDetection get(String id) {
		CheckStandardTendencyDetection checkStandardTendencyDetection = super.get(id);
		return checkStandardTendencyDetection;
	}

	public List<CheckStandardTendencyDetection> findList(CheckStandardTendencyDetection checkStandardTendencyDetection) {
		return super.findList(checkStandardTendencyDetection);
	}

	public Page<CheckStandardTendencyDetection> findPage(Page<CheckStandardTendencyDetection> page, CheckStandardTendencyDetection checkStandardTendencyDetection) {
		return super.findPage(page, checkStandardTendencyDetection);
	}

	@Transactional(readOnly = false)
	public void save(CheckStandardTendencyDetection checkStandardTendencyDetection) {
		super.save(checkStandardTendencyDetection);
	}

	@Transactional(readOnly = false)
	public void delete(CheckStandardTendencyDetection checkStandardTendencyDetection) {
		super.delete(checkStandardTendencyDetection);
	}

}